	<?php 
	if(strlen($page->ShowUserOnline())) {
	?>
<?
    }?>
<div class="box">
<img src="/images/titolo-novita.png" alt="Novit&agrave; della settimana" width="195" height="46"><bR>
<?php
	if(!isset($sesso))
		$sesso = "";
	if(!isset($id_citta))
		$id_citta = "";
	//echo("SESSO: ".$sesso);	
	$count=0;
	$resProfiles = $page->ShowListProfiles($sesso, $id_citta, "N", 6);
    while ($row = mysql_fetch_array($resProfiles))
    {    
        $nome = stripslashes($row['nome']);
		if($nome=="")
			$nome = $row['username'];
			
		$user_id = $row['user_id'];
		$citta = $row['citta'];
		if($citta=="")
			$citta = "Italia";
			
		$count++;
		$nome_foto_principale = $row['nome_foto_principale'];
		
		$obj = new Main();
        $nome_url = $obj->CleanStringForUrl($nome);
		$citta_url = $obj->CleanStringForUrl($citta);
		
		switch ($row['sesso']) {
		case "D":
			$descrSessoSingolare = "Escort";
			$hrefProfile = "/$user_id/annunci/escort/$citta_url/$nome_url";
			break;
		case "U":
			$descrSessoSingolare = "Accompagnatore";
			$hrefProfile = "/$user_id/annunci/accompagnatori/$citta_url/$nome_url";
			break;
		case "T":
			$descrSessoSingolare = "Trans";
			$hrefProfile = "/$user_id/annunci/trans/$citta_url/$nome_url";
			break;   
		default:
			$descrSessoSingolare = "Escort";
			$hrefProfile = "/$user_id/annunci/escort/$citta_url/$nome_url";
		}
		
		$title = $nome." ".$descrSessoSingolare." ".$row['citta'];
		?>
        <a href="<?=$hrefProfile?>" id="box-new"><img src="/images/users/box/<?=$nome_foto_principale?>" title="<?php echo $title; ?>" class="box-new" width="80px"></a>
		<?
		if(!$count%2)
			echo("<br />");
    }
    mysql_free_result($resProfiles);    
	?>
</div>
<div class="box-sponsor"><a href="http://www.escortfashion.com/110/annunci/escort/Torino/Beatrice"><img style="DISPLAY: block" alt="Beatrice Escort Torino" src="/images/banner/box/beatrice-escort-milano.jpg"></a></div>
<div class="box-sponsor"><a href="http://www.escortfashion.com/124/annunci/escort/Milano/Chanel"><img style="DISPLAY: block" alt="Chanel Escort Milano" src="/images/banner/box/chanel-escort-milano.jpg"></a></div>
<div class="box-sponsor"><a href="http://www.escortfashion.com/117/annunci/escort/Milano/Valeri"><img style="DISPLAY: block" alt="Valeri Escort Milano" src="/images/banner/box/valeri-escort-milano.jpg"></a></div>
<div class="box-sponsor"><a href="http://www.escortfashion.com/80/annunci/escort/Roma/Evelyne"><img style="DISPLAY: block" alt="Evelyne Escort Roma" src="/images/banner/box/evelyne-escort-roma.jpg"></a></div>
<div class="box"><a href="#"><img style="DISPLAY: block" alt="Guarda le Escort del mese!" src="/images/box-ragazza-del-mese.png"></a></div>
<DIV class="box base-mini mini-cart cesta">
<DIV style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px" class=head>
<H3>&nbsp;</H3>
</DIV>

</DIV>
<!-- [ends] sidebar // -->
<DIV class=box><a href="#"><img style="DISPLAY: block" alt="Speciale centri massaggi" src="/images/box-centri-massaggi.png"></a></DIV>
<DIV class=box></DIV>